package model;

import model.Termin.TerminArt;


public class TerminArtFilter implements Filter<Termin>{

    private final TerminArt terminart;

    public TerminArtFilter(TerminArt terminart) {
      this.terminart = terminart;
    }

    public boolean matchesCriteria(Termin termin) {
      return termin.getTerminArt().equals(terminart);
    }
  
}
